package com.gong.bank.service;

import com.gong.bank.factory.LogBean;
import com.gong.bank.model.UserBean;

import java.sql.ResultSet;
import java.util.List;

/**
 * @description:
 * @author:gong
 * @create: 4/8/2022 上午9:11
 */
public interface BankService {
    void saveMoney(double money, UserBean user);
    void insertUser(String username,String password);
    void deleteMoney(double money,UserBean user);
    UserBean findUserByName(String username);
    double getMoney(String userName);
    void delete(String username);
    int updateAdmin(UserBean user,int admin);
    int insertLog(UserBean userBean,String operation,double money);
    List<LogBean> selectAllLog();
}
